package com.dianping.cat.core.dal;

import java.util.Date;
import org.unidal.dal.jdbc.DataObject;























public class DailyReport
  extends DataObject
{
  private int m_id;
  private String m_name;
  private String m_ip;
  private String m_domain;
  private Date m_period;
  private int m_type;
  private Date m_creationDate;
  private int m_keyId;
  private int m_count;
  private Date m_startDate;
  private Date m_endDate;
  private int m_limits;
  
  public void afterLoad() {
/*  45 */     this.m_keyId = this.m_id;
/*  46 */     clearUsage();
  }

  
/*  50 */   public int getCount() { return this.m_count; }



/*  54 */   public Date getCreationDate() { return this.m_creationDate; }



/*  58 */   public String getDomain() { return this.m_domain; }



/*  62 */   public Date getEndDate() { return this.m_endDate; }



/*  66 */   public int getId() { return this.m_id; }



/*  70 */   public String getIp() { return this.m_ip; }



/*  74 */   public int getKeyId() { return this.m_keyId; }



  public int getLimits() { return this.m_limits; }



/*  82 */   public String getName() { return this.m_name; }



/*  86 */   public Date getPeriod() { return this.m_period; }



/*  90 */   public Date getStartDate() { return this.m_startDate; }



/*  94 */   public int getType() { return this.m_type; }

  
  public DailyReport setCount(int count) {
/*  98 */     setFieldUsed(DailyReportEntity.COUNT, true);
/*  99 */     this.m_count = count;
/* 100 */     return this;
  }
  
  public DailyReport setCreationDate(Date creationDate) {
/* 104 */     setFieldUsed(DailyReportEntity.CREATION_DATE, true);
/* 105 */     this.m_creationDate = creationDate;
/* 106 */     return this;
  }
  
  public DailyReport setDomain(String domain) {
/* 110 */     setFieldUsed(DailyReportEntity.DOMAIN, true);
/* 111 */     this.m_domain = domain;
/* 112 */     return this;
  }
  
  public DailyReport setEndDate(Date endDate) {
/* 116 */     setFieldUsed(DailyReportEntity.END_DATE, true);
/* 117 */     this.m_endDate = endDate;
/* 118 */     return this;
  }
  
  public DailyReport setId(int id) {
/* 122 */     setFieldUsed(DailyReportEntity.ID, true);
/* 123 */     this.m_id = id;

/* 125 */     setFieldUsed(DailyReportEntity.KEY_ID, true);
/* 126 */     this.m_keyId = id;
/* 127 */     return this;
  }
  
  public DailyReport setIp(String ip) {
/* 131 */     setFieldUsed(DailyReportEntity.IP, true);
/* 132 */     this.m_ip = ip;
/* 133 */     return this;
  }
  
  public DailyReport setKeyId(int keyId) {
/* 137 */     setFieldUsed(DailyReportEntity.KEY_ID, true);
/* 138 */     this.m_keyId = keyId;
/* 139 */     return this;
  }
  
  public DailyReport setLimits(int limits) {
/* 143 */     setFieldUsed(DailyReportEntity.LIMITS, true);
/* 144 */     this.m_limits = limits;
/* 145 */     return this;
  }
  
  public DailyReport setName(String name) {
/* 149 */     setFieldUsed(DailyReportEntity.NAME, true);
/* 150 */     this.m_name = name;
/* 151 */     return this;
  }
  
  public DailyReport setPeriod(Date period) {
/* 155 */     setFieldUsed(DailyReportEntity.PERIOD, true);
/* 156 */     this.m_period = period;
/* 157 */     return this;
  }
  
  public DailyReport setStartDate(Date startDate) {
/* 161 */     setFieldUsed(DailyReportEntity.START_DATE, true);
/* 162 */     this.m_startDate = startDate;
/* 163 */     return this;
  }
  
  public DailyReport setType(int type) {
/* 167 */     setFieldUsed(DailyReportEntity.TYPE, true);
/* 168 */     this.m_type = type;
/* 169 */     return this;
  }

  
  public String toString() {
/* 174 */     StringBuilder sb = new StringBuilder(1024);

/* 176 */     sb.append("DailyReport[");
/* 177 */     sb.append("count: ").append(this.m_count);
/* 178 */     sb.append(", creation-date: ").append(this.m_creationDate);
/* 179 */     sb.append(", domain: ").append(this.m_domain);
/* 180 */     sb.append(", end-date: ").append(this.m_endDate);
/* 181 */     sb.append(", id: ").append(this.m_id);
/* 182 */     sb.append(", ip: ").append(this.m_ip);
/* 183 */     sb.append(", key-id: ").append(this.m_keyId);
/* 184 */     sb.append(", limits: ").append(this.m_limits);
/* 185 */     sb.append(", name: ").append(this.m_name);
/* 186 */     sb.append(", period: ").append(this.m_period);
/* 187 */     sb.append(", start-date: ").append(this.m_startDate);
/* 188 */     sb.append(", type: ").append(this.m_type);
/* 189 */     sb.append("]");
/* 190 */     return sb.toString();
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-core-3.0.0.jar!/com/dianping/cat/core/dal/DailyReport.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */